//
//  arcAssignEGACell.m
//  EGA_Archives_iOS
//
//  Created by gad on 1/15/56 BE.
//  Copyright (c) 2556 EGA. All rights reserved.
//

#import "arcAssignEGACell.h"

@implementation arcAssignEGACell
@synthesize primaryLabel,secondaryLabel;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

 

- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithFrame:frame reuseIdentifier:reuseIdentifier]) {
        // Initialization code
        primaryLabel = [[UILabel alloc]init];
        primaryLabel.textAlignment = UITextAlignmentLeft;
        primaryLabel.font = [UIFont systemFontOfSize:14];
        secondaryLabel = [[UILabel alloc]init];
        secondaryLabel.textAlignment = UITextAlignmentLeft;
        secondaryLabel.font = [UIFont systemFontOfSize:8];
                [self.contentView addSubview:primaryLabel];
        [self.contentView addSubview:secondaryLabel];
                 
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
//    CGRect contentRect = self.contentView.bounds;
//    CGFloat boundsX = contentRect.origin.x;
//    CGRect frame;
//   // frame= CGRectMake(boundsX+10 ,0, 50, 50);
//  //  myImageView.frame = frame;
//    
//   // frame= CGRectMake(boundsX+70 ,5, 200, 25);
//    primaryLabel.frame = frame;
//    
//  //  frame= CGRectMake(boundsX+70 ,30, 100, 15);
//    secondaryLabel.frame = frame;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
@end
